<?php
return [
    [
        'name'   => '应用管理',
        'link'   => 'javascript:;',
        'icon'   => 'iconfont icon-robot',
        'active' => ['index/admin.parse','index/admin.image','index/admin.text','index/admin.dub'],
        'target' => '_self',
        '_child' => [
            [
                'name'   => '视频解析',
                'link'   => 'index/admin.parse/index',
                'active' => 'index/admin.parse/index',
                'target' => '_self',
            ],
            [
                'name'   => '图文解析',
                'link'   => 'index/admin.image/index',
                'active' => 'index/admin.image/index',
                'target' => '_self',
            ],
            [
                'name'   => '文案提取',
                'link'   => 'index/admin.text/index',
                'active' => 'index/admin.text/index',
                'target' => '_self',
            ],
            [
                'name'   => '免费配音',
                'link'   => 'index/admin.dub/index',
                'active' => 'index/admin.dub/index',
                'target' => '_self',
            ],
        ],
    ],
    [
        'name'   => '会员系统',
        'link'   => 'javascript:;',
        'icon'   => 'iconfont icon-user',
        'active' => ['admin/users','user/admin.config'],
        'target' => '_self',
        '_child' => [
            [
                'name'   => '用户管理',
                'link'   => 'admin/users/index',
                'active' => 'admin/users/index',
                'target' => '_self',
            ],
            [
                'name'   => '添加用户',
                'link'   => 'admin/users/create',
                'active' => 'admin/users/create',
                'target' => '_self',
            ],
            [
                'name'   => '用户配置',
                'link'   => 'user/admin.config/index',
                'active' => 'user/admin.config/index',
                'target' => '_self',
            ],
        ],
    ],
    [
        'name'   => '积分系统',
        'link'   => 'javascript:;',
        'icon'   => 'iconfont icon-vip',
        'active' => ['admin/logs','user/admin.score'],
        'target' => '_self',
        '_child' => [
            [
                'name'   => '积分日志',
                'link'   => 'admin/logs/index',
                'active' => 'admin/logs/index',
                'target' => '_self',
            ],
            [
                'name'   => '积分配置',
                'link'   => 'user/admin.score/index',
                'active' => 'user/admin.score/index',
                'target' => '_self',
            ],
        ],
    ],
    [
        'name'   => '充值系统',
        'link'   => 'javascript:;',
        'icon'   => 'iconfont icon-pay',
        'active' => ['admin/orders','admin/pay'],
        'target' => '_self',
        '_child' => [
            [
                'name'   => '订单管理',
                'link'   => 'admin/orders/index',
                'active' => 'admin/orders/index',
                'target' => '_self',
            ],
            [
                'name'   => '收款配置',
                'link'   => 'admin/pay/index',
                'active' => 'admin/pay/index',
                'target' => '_self',
            ],
        ],
    ],
    [
        'name'   => '运营工具',
        'link'   => 'javascript:;',
        'icon'   => 'iconfont icon-tools',
        'active' => ['index/admin.notice','admin/link'],
        'target' => '_self',
        '_child' => [
            [
                'name'   => '首页公告',
                'link'   => 'index/admin.notice/index',
                'active' => 'index/admin.notice/index',
                'target' => '_self',
            ],
            [
                'name'   => '友情链接',
                'link'   => 'admin/link/index',
                'active' => 'admin/link/index',
                'target' => '_self',
            ],
        ],
    ],
    [
        'name'   => '基础配置',
        'link'   => 'javascript:;',
        'icon'   => 'iconfont icon-cog',
        'active' => ['admin/index','admin/site','admin/apis','admin/sms','admin/route','index/admin.trans'],
        'target' => '_self',
        '_child' => [
            [
                'name'   => '后台首页',
                'link'   => 'admin/index/index',
                'active' => 'admin/index/index',
                'target' => '_self',
            ],
            [
                'name'   => '网站配置',
                'link'   => 'admin/site/index',
                'active' => 'admin/site/index',
                'target' => '_self',
            ],
            [
                'name'   => '接口配置',
                'link'   => 'admin/apis/index',
                'active' => 'admin/apis/index',
                'target' => '_self',
            ],
            [
                'name'   => '短信设置',
                'link'   => 'admin/sms/index',
                'active' => 'admin/sms/index',
                'target' => '_self',
            ],
            [
                'name'   => 'URL 配置',
                'link'   => 'admin/route/index',
                'active' => 'admin/route/index',
                'target' => '_self',
            ],
            [
                'name'   => '语音识别',
                'link'   => 'index/admin.trans/index',
                'active' => 'index/admin.trans/index',
                'target' => '_self',
            ],
        ],
    ],
];